package com.czk.model.strategy.spring.strategy.impl;

import com.czk.model.strategy.spring.common.Order;
import com.czk.model.strategy.spring.common.PaymentResult;
import com.czk.model.strategy.spring.strategy.Strategy;
import org.springframework.stereotype.Service;

/**
 * 支付表支付
 *
 * @Author:ChenZhangKun
 * @Date: 2021/5/19 16:57
 */
@Service
public class Alipay implements Strategy {
    @Override
    public PaymentResult pay(Order order) {
        System.out.println("使用支付宝支付");
        return new PaymentResult("使用支付宝支付");
    }
}
